package demo.factor;

import java.util.Map;
import java.util.Set;

import cn.edu.nuc.onlinestore.model.Admin;
import cn.edu.nuc.onlinestore.model.Carts;
import cn.edu.nuc.onlinestore.model.Client;
import cn.edu.nuc.onlinestore.model.Goods;

public interface fac {
	public Map<Client,Integer> readAllUser();
	public boolean writeAllUser(Map<Client,Integer> map);
	public Admin readAdmin();
	public boolean writeAllGoods(Set<Goods> list);
	public Set<Goods> readAllGoods();
	public Map<Client,Carts> readAllCarts();
	public boolean writeAllCarts(Map<Client,Carts> map); 
	
	
}
